/**
 * Copyright &copy; 2012-2016 <a href="https://github.com/thinkgem/jeesite">JeeSite</a> All rights reserved.
 */
package com.thinkgem.jeesite.modules.ins.entity;

import com.thinkgem.jeesite.common.persistence.DataEntity;
import com.thinkgem.jeesite.modules.sys.entity.User;

/**
 * 数据表-用户Entity
 * @author fanqinglong
 * @version 2017-12-11
 */
public class InsTableUser extends DataEntity<InsTableUser> {
	
	private static final long serialVersionUID = 1L;
	private InsTable table;		// 表Id
	private User user;		// 用户id
	private Integer code;		// 授权码
	
	public InsTableUser() {
		super();
	}

	public InsTableUser(String id){
		super(id);
	}

	public User getUser() {
		return user;
	}

	public void setUser(User user) {
		this.user = user;
	}
	

	public InsTable getTable() {
		return table;
	}

	public void setTable(InsTable table) {
		this.table = table;
	}

	public Integer getCode() {
		return code;
	}

	public void setCode(Integer code) {
		this.code = code;
	}
	
}